import http from "@/server/http";

//得到问题
export const getTemplateList = (params) => {
    return http({
        url: "/admin/user/getTemplateList",
        method: "POST",
        data: params,
    })
}

//提交答案 
export const submitSelfAssessment = (params) => {
    return http({
        url: "/admin/user/editUserArchive",
        method: "POST",
        data: params,
    })
}

//获取答案
export const queryArchivesResults = (params) => {
    return http({
        url: "/admin/user/getUserArchive",
        method: "POST",
        data: params,
    })
}

//修改基础资料  
export const editBasis = (params) => {
    return http({
        url: "/admin/user/updateBasis",
        method: "POST",
        data: params,
    })
}

//获取基本资料 
export const getBasis = (params) => {
    return http({
        url: "/admin/user/getBasis",
        method: "POST",
        data: params,
    })
}

//用户档案列表（更新时间） 
export const queryProfileUpdateTime = (params) => {
    return http({
        url: "/mobile/info/index/user_profile_list",
        method: "POST",
        data: params,
    })
}